const defaultState = {
    userList: [
        {
            id: 1,
            name: '1',
            phone: "11",
            sex: '男',
            countValue: '1'
        }
    ],
    userLevel: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9].map(i =>  { return {label: `VIP-${i}`, value: `${i}` }}),
    userSex: ['全部','男','女'].map(i =>  { return {label: `${i}`, value: `${i}` }})
}

export const LifaReducer = (state = defaultState, action) => {
    let { type } = action;
    switch (type) {
        case 'USER_LIST':
            return { ...state }
        default:
            return { ...state }
    }
}